Skip to content

Commit

Permalink
Merge pull request #108203 from lovesegfault/pythonPackages.reflink
Browse files Browse the repository at this point in the history
pythonPackages.reflink: init at 0.2.1
  • Loading branch information
flokli committed Jan 2, 2021
2 parents 3b7d783 + a1668d0 commit 4edcaab
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
33 changes: 33 additions & 0 deletions 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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 { };
Expand Down

0 comments on commit 4edcaab

Please sign in to comment.