1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/tools/misc/pipreqs/default.nix

26 lines
607 B
Nix
Raw Normal View History

2020-11-01 20:06:25 +00:00
{ lib, python3 }:
2018-12-21 22:11:12 +00:00
2020-11-01 20:06:25 +00:00
with python3.pkgs;
buildPythonApplication rec {
2018-12-21 22:11:12 +00:00
pname = "pipreqs";
2020-01-17 09:52:29 +00:00
version = "0.4.10";
2018-12-21 22:11:12 +00:00
2020-11-01 20:06:25 +00:00
src = fetchPypi {
2018-12-21 22:11:12 +00:00
inherit pname version;
2020-01-17 09:52:29 +00:00
sha256 = "0fdr3mbxjpmrxr7yfc1sn9kbpcyb0qwafimhhrrqvf989dj1sdcy";
2018-12-21 22:11:12 +00:00
};
2020-11-01 20:06:25 +00:00
propagatedBuildInputs = [ yarg docopt ];
2018-12-21 22:11:12 +00: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 22:11:12 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ psyanticy ];
};
}