mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
python310Packages.rebulk: adjust inputs and enable tests
This commit is contained in:
parent
18964e09c9
commit
cae59a67b0
@ -1,4 +1,10 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-runner, six, regex, pythonOlder }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, regex
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rebulk";
|
||||
@ -9,13 +15,16 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-DTC/gPygD6nGlxhaxHXarJveX2Rs4zOMn/XV3B69/rw=";
|
||||
hash = "sha256-DTC/gPygD6nGlxhaxHXarJveX2Rs4zOMn/XV3B69/rw=";
|
||||
};
|
||||
|
||||
# Some kind of trickery with imports that doesn't work.
|
||||
doCheck = false;
|
||||
buildInputs = [ pytest pytest-runner ];
|
||||
propagatedBuildInputs = [ six regex ];
|
||||
propagatedBuildInputs = [
|
||||
regex
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rebulk"
|
||||
|
Loading…
Reference in New Issue
Block a user