Merge pull request #108203 from lovesegfault/pythonPackages.reflink

pythonPackages.reflink: init at 0.2.1
This commit is contained in:
Florian Klink 2021-01-03 00:32:16 +01:00 committed by GitHub
commit 4edcaabafc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -6383,6 +6383,8 @@ in {
reedsolo = callPackage ../development/python-modules/reedsolo { };
reflink = callPackage ../development/python-modules/reflink { };
regex = callPackage ../development/python-modules/regex { };
regional = callPackage ../development/python-modules/regional { };