diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-12-09 18:55:19 +0000 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-12-09 18:55:19 +0000 |
commit | 80d90d9b204f7c17912740f9f414fe5d59f293ba (patch) | |
tree | 5f2065a06e724270610760d59d01c6888b375a46 /infra/libkookie/nixpkgs/pkgs/tools/misc/pipreqs/default.nix | |
parent | 3a31a84c7d3e589035ad08499206aac44a81f424 (diff) | |
parent | 83cbad92d73216bb0d9187c56cce0b91f9121d5a (diff) |
Merge commit '83cbad92d73216bb0d9187c56cce0b91f9121d5a' into main
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/tools/misc/pipreqs/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/tools/misc/pipreqs/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/tools/misc/pipreqs/default.nix b/infra/libkookie/nixpkgs/pkgs/tools/misc/pipreqs/default.nix index bbd4125c4b0e..3f27be2c9f94 100644 --- a/infra/libkookie/nixpkgs/pkgs/tools/misc/pipreqs/default.nix +++ b/infra/libkookie/nixpkgs/pkgs/tools/misc/pipreqs/default.nix @@ -1,16 +1,17 @@ -{ lib, python2Packages }: +{ lib, python3 }: -# Using python 2 because when packaging with python 3 pipreqs fails to parse python 2 code. -python2Packages.buildPythonApplication rec { +with python3.pkgs; + +buildPythonApplication rec { pname = "pipreqs"; version = "0.4.10"; - src = python2Packages.fetchPypi { + src = fetchPypi { inherit pname version; sha256 = "0fdr3mbxjpmrxr7yfc1sn9kbpcyb0qwafimhhrrqvf989dj1sdcy"; }; - propagatedBuildInputs = with python2Packages; [ yarg docopt ]; + propagatedBuildInputs = [ yarg docopt ]; # Tests requires network access. Works fine without sandboxing doCheck = false; |