3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/xe/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
562 B
Nix

{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "xe";
version = "0.11";
src = fetchFromGitHub {
owner = "chneukirchen";
repo = "xe";
rev = "v${version}";
sha256 = "04jr8f6jcijr0bsmn8ajm0aj35qh9my3xjsaq64h8lwg5bpyn29x";
};
makeFlags = "PREFIX=$(out)";
meta = with lib; {
description = "Simple xargs and apply replacement";
homepage = https://github.com/chneukirchen/xe;
license = licenses.publicDomain;
platforms = platforms.all;
maintainers = with maintainers; [ cstrahan ndowens ];
};
}