pythonPackages.patch: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
parent
0ce6ff5c01
commit
35bbea5c41
26
pkgs/development/python-modules/patch/default.nix
Normal file
26
pkgs/development/python-modules/patch/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.16";
|
||||
pname = "patch";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1nj55hvyvzax4lxq7vkyfbw91pianzr3hp7ka7j12pgjxccac50g";
|
||||
};
|
||||
|
||||
# No tests included in archive
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library to parse and apply unified diffs";
|
||||
homepage = https://github.com/techtonik/python-patch/;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.igsha ];
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user