blob: 65f85c9110bdaeb3b79466b4a28d61d45d48eae0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "commandlines";
version = "0.4.1";
format = "setuptools";
# PyPI source tarballs omit tests, fetch from Github instead
src = fetchFromGitHub {
owner = "chrissimpkins";
repo = "commandlines";
rev = "v${version}";
hash = "sha256-x3iUeOTAaTKNW5Y5foMPMJcWVxu52uYZoY3Hhe3UvQ4=";
};
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python library for command line argument parsing";
homepage = "https://github.com/chrissimpkins/commandlines";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ danc86 ];
};
}
|