tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.lcgit: init at 0.2.0
Fabian Affolter
3 years ago
c4d1f2b7
710635f6
+44
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
lcgit
default.nix
top-level
python-packages.nix
+42
pkgs/development/python-modules/lcgit/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib
2
+
, buildPythonPackage
3
+
, fetchFromGitHub
4
+
, pytestCheckHook
5
+
, pythonOlder
6
+
}:
7
+
8
+
buildPythonPackage rec {
9
+
pname = "lcgit";
10
+
version = "0.2.0";
11
+
format = "setuptools";
12
+
13
+
disabled = pythonOlder "3.7";
14
+
15
+
src = fetchFromGitHub {
16
+
owner = "cisagov";
17
+
repo = "lcgit";
18
+
rev = "refs/tags/v${version}";
19
+
hash = "sha256-MYRqlfz2MRayBT7YGZmcyqJdoDRfENmgxk/TmhyoAlQ=";
20
+
};
21
+
22
+
postPatch = ''
23
+
substituteInPlace pytest.ini \
24
+
--replace " --cov" ""
25
+
'';
26
+
27
+
nativeCheckInputs = [
28
+
pytestCheckHook
29
+
];
30
+
31
+
pythonImportsCheck = [
32
+
"lcgit"
33
+
];
34
+
35
+
meta = with lib; {
36
+
description = "A pythonic Linear Congruential Generator iterator";
37
+
homepage = "https://github.com/cisagov/lcgit";
38
+
changelog = "https://github.com/cisagov/lcgit/releases/tag/v${version}";
39
+
license = licenses.cc0;
40
+
maintainers = with maintainers; [ fab ];
41
+
};
42
+
}
+2
pkgs/top-level/python-packages.nix
···
5292
5293
lc7001 = callPackage ../development/python-modules/lc7001 { };
5294
0
0
5295
lcov_cobertura = callPackage ../development/python-modules/lcov_cobertura { };
5296
5297
ldap3 = callPackage ../development/python-modules/ldap3 { };
···
5292
5293
lc7001 = callPackage ../development/python-modules/lc7001 { };
5294
5295
+
lcgit = callPackage ../development/python-modules/lcgit { };
5296
+
5297
lcov_cobertura = callPackage ../development/python-modules/lcov_cobertura { };
5298
5299
ldap3 = callPackage ../development/python-modules/ldap3 { };