k 5: cacpy -> cacpanel
This commit is contained in:
parent
c8a920c6d9
commit
f12ded12c6
18
krebs/5pkgs/cacpanel/default.nix
Normal file
18
krebs/5pkgs/cacpanel/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{pkgs, python3Packages, ...}:
|
||||||
|
|
||||||
|
python3Packages.buildPythonPackage rec {
|
||||||
|
name = "cacpanel-${version}";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://pypi.python.org/packages/source/c/cacpanel/cacpanel-${version}.tar.gz";
|
||||||
|
sha256 = "1rcylbiy6488lpw4s4bildb48fljdq9kn12ksjrl81shmhhq9fcj";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
docopt
|
||||||
|
requests2
|
||||||
|
beautifulsoup4
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
{pkgs, python3Packages, ...}:
|
|
||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
|
||||||
name = "cacpy-${version}";
|
|
||||||
version = "0.6.5";
|
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "makefu";
|
|
||||||
repo = "python-cloudatcost";
|
|
||||||
rev = "2bb4f940d4762938c06da380cd14767eafb171c9";
|
|
||||||
sha256 = "1zl73q5iap76wfwjzvc25yqdrlmy9vqd7g4k31g5ig2ljy6sgwgc";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
|
||||||
docopt
|
|
||||||
requests2
|
|
||||||
beautifulsoup4
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue