2023-07-15 17:15:38 +00:00
|
|
|
{ lib, python3, fetchPypi }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-24 20:58:05 +00:00
|
|
|
with python3.pkgs;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "pipreqs";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "0.4.13";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-24 20:58:05 +00:00
|
|
|
src = fetchPypi {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit pname version;
|
2023-08-22 20:05:09 +00:00
|
|
|
hash = "sha256-oX8WeIC2khvjdTPOTIHdxuIrRlwQeq1VfbQ7Gt1WqZs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-24 20:58:05 +00:00
|
|
|
propagatedBuildInputs = [ yarg docopt ];
|
2020-04-24 23:36:52 +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";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
}
|