uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
37
pkgs/development/python-modules/python-sat/default.nix
Normal file
37
pkgs/development/python-modules/python-sat/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ buildPythonPackage, fetchFromGitHub, lib, six, pypblib, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-sat";
|
||||
version = "0.1.7.dev1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pysathq";
|
||||
repo = "pysat";
|
||||
rev = version;
|
||||
sha256 = "sha256-zGdgD+SgoMB7/zDQI/trmV70l91TB7OkDxaJ30W3dkI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six pypblib ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
# https://github.com/pysathq/pysat/pull/102
|
||||
postPatch = ''
|
||||
# Fix for case-insensitive filesystem
|
||||
cat >>solvers/patches/cadical.patch <<EOF
|
||||
diff --git solvers/cadical/VERSION solvers/cdc/VERSION
|
||||
deleted file mode 100644
|
||||
--- solvers/cadical/VERSION
|
||||
+++ /dev/null
|
||||
@@ -1 +0,0 @@
|
||||
-1.0.3
|
||||
EOF
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Toolkit to provide interface for various SAT (without optional dependancy py-aiger-cnf)";
|
||||
homepage = "https://github.com/pysathq/pysat";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.marius851000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue