mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
38
pkgs/development/python-modules/cozy/default.nix
Normal file
38
pkgs/development/python-modules/cozy/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ buildPythonPackage, fetchFromGitHub, lib,
|
||||
z3, ply, python-igraph, oset, ordered-set, dictionaries }:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "cozy";
|
||||
version = "2.0a1";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
z3 ply python-igraph oset ordered-set dictionaries
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CozySynthesizer";
|
||||
repo = "cozy";
|
||||
rev = "f553e9b";
|
||||
sha256 = "1jhr5gzihj8dkg0yc5dmi081v2isxharl0ph7v2grqj0bwqzl40j";
|
||||
};
|
||||
|
||||
# Yoink the Z3 dependency name, because our Z3 package doesn't provide it.
|
||||
postPatch = ''
|
||||
sed -i -e '/z3-solver/d' requirements.txt
|
||||
'';
|
||||
|
||||
# Tests are not correctly set up in the source tree.
|
||||
doCheck = false;
|
||||
|
||||
# There is some first-time-run codegen that we will force to happen.
|
||||
postInstall = ''
|
||||
$out/bin/cozy --help
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "The collection synthesizer";
|
||||
homepage = https://cozy.uwplse.org/;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.MostAwesomeDude ];
|
||||
};
|
||||
}
|
||||
19
pkgs/development/python-modules/dictionaries/default.nix
Normal file
19
pkgs/development/python-modules/dictionaries/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ buildPythonPackage, fetchPypi, lib, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dictionaries";
|
||||
version = "0.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1jx2ph509sk4l7spslz16y8l6xn97d13nspn4ds2lxn5ward9ihy";
|
||||
};
|
||||
|
||||
buildInputs = [ six ];
|
||||
|
||||
meta = {
|
||||
description = "Dict implementations with attribute access";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.MostAwesomeDude ];
|
||||
};
|
||||
}
|
||||
26
pkgs/development/python-modules/ordered-set/default.nix
Normal file
26
pkgs/development/python-modules/ordered-set/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ buildPythonPackage, fetchPypi, lib, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ordered-set";
|
||||
version = "3.0.1";
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0yyfkkfzpwlx4jlfqzb7p1xpzmn2jyzq2qlakqx62pxizfzxfvrx";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
py.test test.py
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A MutableSet that remembers its order, so that every entry has an index.";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.MostAwesomeDude ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
22
pkgs/development/python-modules/python-igraph/default.nix
Normal file
22
pkgs/development/python-modules/python-igraph/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ buildPythonPackage, fetchPypi, lib,
|
||||
pkgconfig, igraph }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-igraph";
|
||||
version = "0.7.1.post6";
|
||||
|
||||
buildInputs = [ pkgconfig igraph ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0xp61zz710qlzhmzbfr65d5flvsi8zf2xy78s6rsszh719wl5sm5";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "High performance graph data structures and algorithms";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.MostAwesomeDude ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user