mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
pythonPackages.dopy: refactor move to python-modules
This commit is contained in:
parent
29d0eec15f
commit
e47a7f89da
26
pkgs/development/python-modules/dopy/default.nix
Normal file
26
pkgs/development/python-modules/dopy/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ pkgs
|
||||
, buildPythonPackage
|
||||
, requests
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2016-01-04";
|
||||
pname = "dopy";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "Wiredcraft";
|
||||
repo = "dopy";
|
||||
rev = "cb443214166a4e91b17c925f40009ac883336dc3";
|
||||
sha256 ="0ams289qcgna96aak96jbz6wybs6qb95h2gn8lb4lmx2p5sq4q56";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests six ];
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "Digital Ocean API python wrapper";
|
||||
homepage = "https://github.com/Wiredcraft/dopy";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lihop ];
|
||||
};
|
||||
}
|
|
@ -2136,27 +2136,7 @@ in {
|
|||
|
||||
dogpile_core = callPackage ../development/python-modules/dogpile.core { };
|
||||
|
||||
dopy = buildPythonPackage rec {
|
||||
version = "2016-01-04";
|
||||
name = "dopy-${version}";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "Wiredcraft";
|
||||
repo = "dopy";
|
||||
rev = "cb443214166a4e91b17c925f40009ac883336dc3";
|
||||
sha256 ="0ams289qcgna96aak96jbz6wybs6qb95h2gn8lb4lmx2p5sq4q56";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ requests six ];
|
||||
|
||||
meta = {
|
||||
description = "Digital Ocean API python wrapper";
|
||||
homepage = "https://github.com/Wiredcraft/dopy";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lihop ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
dopy = callPackage ../development/python-modules/dopy { };
|
||||
|
||||
dpkt = callPackage ../development/python-modules/dpkt {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue