blob: 08ed0c43a22bb07031b490e8c4670f31fed27a17 (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, appdirs
, requests
, pytest
}:
buildPythonPackage rec {
pname = "pipdate";
version = "0.3.4";
src = fetchPypi {
inherit pname version;
sha256 = "26bd12075e63ef7f8094da36c27bf5539d298f4ef2af6acba20e98b502439d6d";
};
propagatedBuildInputs = [
appdirs
requests
];
checkInputs = [
pytest
];
checkPhase = ''
HOME=$(mktemp -d) pytest test/test_pipdate.py
'';
# tests require network access
doCheck = false;
meta = with lib; {
description = "pip update helpers";
homepage = https://github.com/nschloe/pipdate;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}
|