Loading pkgs/development/python-modules/simplesat/default.nix +22 −10 Original line number Diff line number Diff line Loading @@ -4,14 +4,16 @@ writeText, lib, attrs, six, mock, okonomiyaki, pytestCheckHook, pyyaml, setuptools, six, }: let version = "0.9.0"; format = "setuptools"; versionFile = writeText "simplesat_ver" '' version = '${version}' full_version = '${version}' Loading @@ -24,12 +26,7 @@ in buildPythonPackage rec { pname = "simplesat"; inherit version; propagatedBuildInputs = [ attrs six okonomiyaki ]; pyproject = true; src = fetchFromGitHub { owner = "enthought"; Loading @@ -41,10 +38,25 @@ buildPythonPackage rec { preConfigure = '' cp ${versionFile} simplesat/_version.py ''; dontUseSetuptoolsCheck = true; build-system = [ setuptools ]; dependencies = [ attrs okonomiyaki six ]; pythonImportsCheck = [ "simplesat" ]; nativeCheckInputs = [ mock pytestCheckHook pyyaml ]; pytestFlagsArray = [ "simplesat/tests" ]; meta = with lib; { homepage = "https://github.com/enthought/sat-solver"; description = "Prototype for SAT-based dependency handling"; Loading Loading
pkgs/development/python-modules/simplesat/default.nix +22 −10 Original line number Diff line number Diff line Loading @@ -4,14 +4,16 @@ writeText, lib, attrs, six, mock, okonomiyaki, pytestCheckHook, pyyaml, setuptools, six, }: let version = "0.9.0"; format = "setuptools"; versionFile = writeText "simplesat_ver" '' version = '${version}' full_version = '${version}' Loading @@ -24,12 +26,7 @@ in buildPythonPackage rec { pname = "simplesat"; inherit version; propagatedBuildInputs = [ attrs six okonomiyaki ]; pyproject = true; src = fetchFromGitHub { owner = "enthought"; Loading @@ -41,10 +38,25 @@ buildPythonPackage rec { preConfigure = '' cp ${versionFile} simplesat/_version.py ''; dontUseSetuptoolsCheck = true; build-system = [ setuptools ]; dependencies = [ attrs okonomiyaki six ]; pythonImportsCheck = [ "simplesat" ]; nativeCheckInputs = [ mock pytestCheckHook pyyaml ]; pytestFlagsArray = [ "simplesat/tests" ]; meta = with lib; { homepage = "https://github.com/enthought/sat-solver"; description = "Prototype for SAT-based dependency handling"; Loading