mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
40 lines
746 B
Nix
40 lines
746 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyroute2-core
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyroute2-ipdb";
|
|
version = "0.6.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "pyroute2.ipdb";
|
|
inherit version;
|
|
hash = "sha256-uMEPUleEBIaIV4bCejTmeHYhKeaN9SNcUMzBAODNBEU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyroute2-core
|
|
];
|
|
|
|
# pyroute2 sub-modules have no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pr2modules.ipdb"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Ipdb module for pyroute2";
|
|
homepage = "https://github.com/svinota/pyroute2";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|