nixpkgs/pkgs/tools/misc/pick/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
633 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, ncurses, pkgconfig }:
stdenv.mkDerivation rec {
pname = "pick";
version = "2.0.2";
src = fetchFromGitHub {
owner = "calleerlandsson";
repo = "pick";
rev = "v${version}";
sha256 = "0wm3220gqrwldiq0rjdraq5mw3i7d58zwzls8234sx9maf59h0k0";
};
buildInputs = [ ncurses ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Fuzzy text selection utility";
license = licenses.mit;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux ++ platforms.darwin;
};
}