1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 02:24:27 +00:00
nixpkgs/pkgs/development/python-modules/requirements-detector/default.nix
Kevin Amado 3773e45fbb pythonPackages.requirements-detector: fix source
- The fetch expression was referencing another package
  (due to a copy paste error), this commit points that to the
  right repository
2020-01-14 21:26:34 -08:00

44 lines
749 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, isPy27
, lib
# pythonPackages
, astroid
, pytest
}:
buildPythonPackage rec {
pname = "requirements-detector";
version = "0.6";
disabled = isPy27;
src = fetchFromGitHub {
owner = "landscapeio";
repo = pname;
rev = version;
sha256 = "1sfmm7daz0kpdx6pynsvi6qlfhrzxx783l1wb69c8dfzya4xssym";
};
propagatedBuildInputs = [
astroid
];
checkInputs = [
pytest
];
checkPhase = ''
pytest
'';
meta = {
description = "Python tool to find and list requirements of a Python project";
homepage = "https://github.com/landscapeio/requirements-detector";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
kamadorueda
];
};
}