diff options
author | Florian Klink <flokli@flokli.de> | 2021-01-03 00:32:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 00:32:16 +0100 |
commit | 4edcaabafc536c30324853a8737978ec57c629aa (patch) | |
tree | c713fa13752a4fe3047a89f069542632fa08dc8c /pkgs/development | |
parent | 3b7d783cb0fbdc3b14a36451ad2f94d01521f610 (diff) | |
parent | a1668d0d7b482c338f29b835bc178d5f2fcdc7ae (diff) |
Merge pull request #108203 from lovesegfault/pythonPackages.reflink
pythonPackages.reflink: init at 0.2.1
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/reflink/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/reflink/default.nix b/pkgs/development/python-modules/reflink/default.nix new file mode 100644 index 0000000000000..e9b8beadd16db --- /dev/null +++ b/pkgs/development/python-modules/reflink/default.nix @@ -0,0 +1,33 @@ +{ buildPythonPackage +, cffi +, fetchPypi +, lib +, pytestCheckHook +, pytestrunner +}: + +buildPythonPackage rec { + pname = "reflink"; + version = "0.2.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-ySU1gtskQTv9cDq/wbKkneePMbSQcjnyhumhkpoebjo="; + }; + + propagatedBuildInputs = [ cffi pytestrunner ]; + + checkInputs = [ pytestCheckHook ]; + + # FIXME: These do not work, and I have been unable to figure out why. + doCheck = false; + + pythonImportsCheck = [ "reflink" ]; + + meta = with lib; { + description = "Python reflink wraps around platform specific reflink implementations"; + homepage = "https://gitlab.com/rubdos/pyreflink"; + license = licenses.mit; + maintainers = with maintainers; [ lovesegfault ]; + }; +} |