1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/check-manifest/default.nix

28 lines
761 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, pep517, toml, mock, breezy, git }:
buildPythonPackage rec {
pname = "check-manifest";
2020-06-06 07:47:01 +01:00
version = "0.42";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:01 +01:00
sha256 = "0d8e1b0944a667dd4a75274f6763e558f0d268fde2c725e894dfd152aae23300";
};
# Test requires filesystem access
postPatch = ''
substituteInPlace tests.py --replace "test_build_sdist" "no_test_build_sdist"
'';
propagatedBuildInputs = [ pep517 toml ];
checkInputs = [ mock breezy git ];
meta = with stdenv.lib; {
homepage = "https://github.com/mgedmin/check-manifest";
description = "Check MANIFEST.in in a Python source package for completeness";
license = licenses.mit;
maintainers = with maintainers; [ lewo ];
};
}