mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
python.pkgs.backports_lzma: fix tests
This commit is contained in:
parent
ab772d066d
commit
523a7c879f
@ -20,9 +20,8 @@ if !(pythonOlder "3.3") then null else buildPythonPackage rec {
|
||||
|
||||
buildInputs = [ lzma ];
|
||||
|
||||
# Needs the compiled module in $out
|
||||
checkPhase = ''
|
||||
PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH ${python.interpreter} -m unittest discover -s test
|
||||
${python.interpreter} test/test_lzma.py
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@ -30,4 +29,4 @@ if !(pythonOlder "3.3") then null else buildPythonPackage rec {
|
||||
homepage = https://github.com/peterjc/backports.lzma;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user