c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
25 lines
615 B
Nix
25 lines
615 B
Nix
{ lib, python3, fetchPypi }:
|
|
|
|
with python3.pkgs;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "pipreqs";
|
|
version = "0.4.13";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-oX8WeIC2khvjdTPOTIHdxuIrRlwQeq1VfbQ7Gt1WqZs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ yarg docopt ];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|