git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #29691 from veprbl/simanneal

pythonPackages.simanneal: init at 0.4.1

commit83440984e337189081c59849eb334820d85382c7 authorJörg Thalheim <Mic92@users.noreply.github.com> dateSun 24 Sep 2017, 15:58 (9 years ago) parent975c7b2dd99592
2 files changed+26
pkgs/development/python-modules/simanneal/default.nix+24 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/simanneal/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, buildPythonPackage, pytest }:
2+
3+buildPythonPackage rec {
4+ pname = "simanneal";
5+ version = "0.4.1";
6+ name = "${pname}-${version}";
7+
8+ src = fetchFromGitHub {
9+ owner = "perrygeo";
10+ repo = "simanneal";
11+ rev = version;
12+ sha256 = "12499wvf7ii7cy8z2f1d472p7q9napg1lj0h9xx8l1mbr1hjlp3q";
13+ };
14+
15+ checkInputs = [ pytest ];
16+ checkPhase = "pytest tests";
17+
18+ meta = with stdenv.lib; {
19+ description = "A python implementation of the simulated annealing optimization technique";
20+ homepage = https://github.com/perrygeo/simanneal;
21+ license = licenses.isc;
22+ maintainers = with maintainers; [ veprbl ];
23+ };
24+}
pkgs/top-level/python-packages.nix+2
@@ -19535,6 +19535,8 @@ in {
1953519535 };
1953619536 };
1953719537
19538+ simanneal = callPackage ../development/python-modules/simanneal { };
19539+
1953819540 simplebayes = buildPythonPackage rec {
1953919541 name = "simplebayes-${version}";
1954019542 version = "1.5.8";