pythonPackages.pagerduty: refactor move to python-modules
This commit is contained in:
parent
52813e6219
commit
bf6229e434
23
pkgs/development/python-modules/pagerduty/default.nix
Normal file
23
pkgs/development/python-modules/pagerduty/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pagerduty";
|
||||||
|
version = "0.2.1";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "e8c237239d3ffb061069aa04fc5b3d8ae4fb0af16a9713fe0977f02261d323e9";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://github.com/samuel/python-pagerduty;
|
||||||
|
description = "Library for the PagerDuty service API";
|
||||||
|
license = licenses.bsd0;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3067,16 +3067,7 @@ in {
|
|||||||
|
|
||||||
wrapt = callPackage ../development/python-modules/wrapt { };
|
wrapt = callPackage ../development/python-modules/wrapt { };
|
||||||
|
|
||||||
pagerduty = buildPythonPackage rec {
|
pagerduty = callPackage ../development/python-modules/pagerduty { };
|
||||||
name = "pagerduty-${version}";
|
|
||||||
version = "0.2.1";
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/pagerduty/pagerduty-${version}.tar.gz";
|
|
||||||
sha256 = "e8c237239d3ffb061069aa04fc5b3d8ae4fb0af16a9713fe0977f02261d323e9";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pandas = callPackage ../development/python-modules/pandas { };
|
pandas = callPackage ../development/python-modules/pandas { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user