mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
pythonPackages.crashtest: mirror the python version range specified in pyproject.toml
Trying to build crashtest with python35 fails with: > ERROR: Package 'crashtest' requires a different Python: 3.5.9 not in > '>=3.6,<4.0'
This commit is contained in:
parent
ce55b09ad5
commit
aff753d184
@ -1,9 +1,9 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi, isPy27, pytest }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi, pythonAtLeast, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "crashtest";
|
||||
version = "0.3.0";
|
||||
disabled = isPy27;
|
||||
disabled = !(pythonAtLeast "3.6");
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
Loading…
Reference in New Issue
Block a user