Skip to content

Commit a9aefde

Browse files
committedJun 18, 2017
pythonPackages.rebulk: 0.8.2 -> 0.9.0
1 parent 8581998 commit a9aefde

File tree

2 files changed

+24
-20
lines changed

2 files changed

+24
-20
lines changed
 

Diff for: ‎pkgs/development/python-modules/rebulk/default.nix

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}:
2+
3+
buildPythonPackage rec {
4+
pname = "rebulk";
5+
version = "0.9.0";
6+
name = "${pname}-${version}";
7+
8+
src = fetchPypi {
9+
inherit pname version;
10+
sha256 = "1sw516ihfrb7i9bfl1n3049akvb23mpsk3llh7w3xfnbvkfrpip0";
11+
};
12+
13+
# Some kind of trickery with imports that doesn't work.
14+
doCheck = false;
15+
buildInputs = [ pytest pytestrunner ];
16+
propagatedBuildInputs = [ six regex ];
17+
18+
meta = with stdenv.lib; {
19+
homepage = "https://github.com/Toilal/rebulk/";
20+
license = licenses.mit;
21+
description = "Advanced string matching from simple patterns";
22+
};
23+
}

Diff for: ‎pkgs/top-level/python-packages.nix

+1-20
Original file line numberDiff line numberDiff line change
@@ -11914,26 +11914,7 @@ in {
1191411914

1191511915
guessit = callPackage ../development/python-modules/guessit { };
1191611916

11917-
rebulk = buildPythonPackage rec {
11918-
version = "0.8.2";
11919-
name = "rebulk-${version}";
11920-
11921-
src = pkgs.fetchurl {
11922-
url = "mirror://pypi/r/rebulk/${name}.tar.gz";
11923-
sha256 = "8c09901bda7b79a21d46faf489d67d017aa54d38bdabdb53f824068a6640401a";
11924-
};
11925-
11926-
# Some kind of trickery with imports that doesn't work.
11927-
doCheck = false;
11928-
buildInputs = with self; [ pytest pytestrunner ];
11929-
propagatedBuildInputs = with self; [ six regex ];
11930-
11931-
meta = {
11932-
homepage = "https://github.com/Toilal/rebulk/";
11933-
license = licenses.mit;
11934-
description = "Advanced string matching from simple patterns";
11935-
};
11936-
};
11917+
rebulk = callPackage ../development/python-modules/rebulk { };
1193711918

1193811919
gunicorn = callPackage ../development/python-modules/gunicorn.nix { };
1193911920

0 commit comments

Comments
 (0)