1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/tools/impl/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

31 lines
696 B
Nix

{ buildGoPackage
, lib
, fetchFromGitHub
}:
buildGoPackage rec {
pname = "impl-unstable";
version = "2018-02-27";
rev = "3d0f908298c49598b6aa84f101c69670e15d1d03";
goPackagePath = "github.com/josharian/impl";
src = fetchFromGitHub {
inherit rev;
owner = "josharian";
repo = "impl";
sha256 = "0xpip20x5vclrl0by1760lg73v6lj6nmkbiazlskyvpkw44h8a7c";
};
goDeps = ./deps.nix;
meta = with lib; {
description = "impl generates method stubs for implementing an interface.";
homepage = https://github.com/josharian/impl;
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}