mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
573 B
Nix
24 lines
573 B
Nix
{ stdenv, fetchFromGitHub, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "rpl";
|
|
version = "1.5.7";
|
|
|
|
# Tests not included in pip package.
|
|
doCheck = false;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kcoyner";
|
|
repo = "rpl";
|
|
rev = "v${version}";
|
|
sha256 = "1xhpgcmq91ivy9ijfyz5ilg51m7fz8ar2077r7gq246j8gbf8ggr";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Replace strings in files";
|
|
homepage = "https://github.com/kcoyner/rpl";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ teto ];
|
|
};
|
|
}
|