nixpkgs/pkgs/tools/system/lr/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

24 lines
528 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "lr";
version = "1.4.1";
src = fetchFromGitHub {
owner = "chneukirchen";
repo = "lr";
rev = "v${version}";
sha256 = "0mpaqn0zfhxdf9wzs1wgdd29bjcyl3rgfdlqbwhiwcy2h3vy2h8s";
};
makeFlags = "PREFIX=$(out)";
meta = with stdenv.lib; {
homepage = https://github.com/chneukirchen/lr;
description = "List files recursively";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.globin ];
};
}