nixpkgs-suyu/pkgs/tools/misc/pipreqs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
619 B
Nix
Raw Normal View History

2020-11-01 21:06:25 +01:00
{ lib, python3 }:
2018-12-21 23:11:12 +01:00
2020-11-01 21:06:25 +01:00
with python3.pkgs;
buildPythonApplication rec {
2018-12-21 23:11:12 +01:00
pname = "pipreqs";
2021-10-27 15:46:16 +02:00
version = "0.4.11";
2018-12-21 23:11:12 +01:00
2020-11-01 21:06:25 +01:00
src = fetchPypi {
2018-12-21 23:11:12 +01:00
inherit pname version;
2021-10-27 15:46:16 +02:00
sha256 = "c793b4e147ac437871b3a962c5ce467e129c859ece5ba79aca83c20f4d9c3aef";
2018-12-21 23:11:12 +01:00
};
2020-11-01 21:06:25 +01:00
propagatedBuildInputs = [ yarg docopt ];
2018-12-21 23:11:12 +01:00
# Tests requires network access. Works fine without sandboxing
doCheck = false;
meta = with lib; {
description = "Generate requirements.txt file for any project based on imports";
homepage = "https://github.com/bndr/pipreqs";
2018-12-21 23:11:12 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ psyanticy ];
};
}