blob: 53754fd3dc29d7ed382d6235d1552fefcc407995 (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytestrunner
, pytest
, glibcLocales
, packaging
}:
buildPythonPackage rec {
pname = "path.py";
version = "11.0";
name = pname + "-" + version;
src = fetchPypi {
inherit pname version;
sha256 = "16134e5b287aba4a4125a6722e7837cf2a149fccc5000c500ae6c71a5525488b";
};
checkInputs = [ pytest pytestrunner glibcLocales packaging ];
buildInputs = [ setuptools_scm ];
LC_ALL="en_US.UTF-8";
meta = {
description = "A module wrapper for os.path";
homepage = https://github.com/jaraco/path.py;
license = lib.licenses.mit;
};
checkPhase = ''
py.test test_path.py
'';
}
|