mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 07:30:04 +03:00
python312Packages.simplesat: 0.8.2 -> 0.9.0 (#339957)
This commit is contained in:
commit
c888b7edb5
@ -4,14 +4,16 @@
|
||||
writeText,
|
||||
lib,
|
||||
attrs,
|
||||
six,
|
||||
mock,
|
||||
okonomiyaki,
|
||||
pytestCheckHook,
|
||||
pyyaml,
|
||||
setuptools,
|
||||
six,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.8.2";
|
||||
format = "setuptools";
|
||||
|
||||
version = "0.9.0";
|
||||
versionFile = writeText "simplesat_ver" ''
|
||||
version = '${version}'
|
||||
full_version = '${version}'
|
||||
@ -24,27 +26,37 @@ in
|
||||
buildPythonPackage rec {
|
||||
pname = "simplesat";
|
||||
inherit version;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
six
|
||||
okonomiyaki
|
||||
];
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "enthought";
|
||||
repo = "sat-solver";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6BQn1W2JGrMmNqgxi+sXx06XzNMcvwqYGMkpD0SSpT8=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-8sUOV42MLM3otG3EKvVzKKGAUpSlaTj850QZxZa62bE=";
|
||||
};
|
||||
|
||||
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…
Reference in New Issue
Block a user