Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3b7d783cb0fb
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4edcaabafc53
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 2, 2021

  1. Copy the full SHA
    a1668d0 View commit details
  2. Merge pull request #108203 from lovesegfault/pythonPackages.reflink

    pythonPackages.reflink: init at 0.2.1
    flokli authored Jan 2, 2021
    Copy the full SHA
    4edcaab View commit details
Showing with 35 additions and 0 deletions.
  1. +33 −0 pkgs/development/python-modules/reflink/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
33 changes: 33 additions & 0 deletions pkgs/development/python-modules/reflink/default.nix
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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 { };