blob: 14d637fa63cec1d7cdd7970a6fe82ed3c73b1255 (
plain) (
blame)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
# build-system
, hatchling
# tests
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "expandvars";
version = "0.12.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-fRrfpVcoz0tdgS7OPQh3A/rqlT4MChp4QV3p31Ak2EQ=";
};
nativeBuildInputs = [
hatchling
];
pythonImportsCheck = [
"expandvars"
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Expand system variables Unix style";
homepage = "https://github.com/sayanarijit/expandvars";
license = licenses.mit;
maintainers = with maintainers; [ geluk ];
};
}
|