tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.ordered-set: 4.0.2 -> 4.1.0
Martin Weinelt
4 years ago
64af180d
c4950045
+26
-11
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
ordered-set
default.nix
+26
-11
pkgs/development/python-modules/ordered-set/default.nix
···
1
1
-
{ buildPythonPackage, fetchPypi, lib, isPy27, pytest }:
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchPypi
4
4
+
, pythonOlder
5
5
+
, flit-core
6
6
+
, pytestCheckHook
7
7
+
}:
2
8
3
9
buildPythonPackage rec {
4
10
pname = "ordered-set";
5
5
-
version = "4.0.2";
6
6
-
disabled = isPy27;
11
11
+
version = "4.1.0";
12
12
+
format = "pyproject";
7
13
8
8
-
checkInputs = [ pytest ];
14
14
+
disabled = pythonOlder "3.7";
9
15
10
16
src = fetchPypi {
11
17
inherit pname version;
12
12
-
sha256 = "159syfbqnwqnivzjfn3x7ak3xwrxmnzbji7c2qhj1jjv0pgv54xs";
18
18
+
sha256 = "sha256-aUqORMh2V8WSku3nKJHrkdNBMfZTFGOqswCRkcdzZKg=";
13
19
};
14
20
15
15
-
checkPhase = ''
16
16
-
py.test test.py
17
17
-
'';
21
21
+
nativeBuildInputs = [
22
22
+
flit-core
23
23
+
];
24
24
+
25
25
+
checkInputs = [
26
26
+
pytestCheckHook
27
27
+
];
18
28
19
19
-
meta = {
29
29
+
pythonImportsCheck = [
30
30
+
"ordered_set"
31
31
+
];
32
32
+
33
33
+
meta = with lib; {
20
34
description = "A MutableSet that remembers its order, so that every entry has an index.";
21
21
-
license = lib.licenses.mit;
22
22
-
maintainers = [ lib.maintainers.MostAwesomeDude ];
35
35
+
homepage = "https://github.com/rspeer/ordered-set";
36
36
+
license = licenses.mit;
37
37
+
maintainers = with maintainers; [ MostAwesomeDude ];
23
38
};
24
39
}