nixpkgs/pkgs/development/tools/leaps/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
618 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "leaps";
version = "0.9.0";
goPackagePath = "github.com/Jeffail/leaps";
src = fetchFromGitHub {
owner = "Jeffail";
repo = "leaps";
sha256 = "1bzas7ixyfsfh81lnvplhx59yghkmnmy5p7jv9rnwp219dwbylpz";
rev = "v${version}";
};
goDeps = ./deps.nix;
meta = {
description = "A pair programming tool and library written in Golang";
homepage = https://github.com/jeffail/leaps/;
license = "MIT";
maintainers = with stdenv.lib.maintainers; [ qknight ];
platforms = stdenv.lib.platforms.unix;
};
}