nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 appdirs,
4 buildPythonPackage,
5 fetchPypi,
6 packaging,
7 requests,
8 rich,
9 setuptools,
10 wheel,
11}:
12
13buildPythonPackage rec {
14 pname = "pipdate";
15 version = "0.5.6";
16 pyproject = true;
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-G2t+wsVGj7cDbsnWss7XqKU421WqygPzAZkhbTu9Jks=";
21 };
22
23 nativeBuildInputs = [ wheel ];
24
25 propagatedBuildInputs = [
26 appdirs
27 packaging
28 requests
29 rich
30 setuptools
31 ];
32
33 # Tests require network access and pythonImportsCheck requires configuration file
34 doCheck = false;
35
36 meta = {
37 description = "Pip update helpers";
38 mainProgram = "pipdate";
39 homepage = "https://github.com/nschloe/pipdate";
40 license = lib.licenses.gpl3Plus;
41 maintainers = [ ];
42 };
43}