forked from mirrors/nixpkgs
pythonPackages.mongodict: refactor move to python-modules
This commit is contained in:
parent
942484324e
commit
fc46fb16c1
24
pkgs/development/python-modules/mongodict/default.nix
Normal file
24
pkgs/development/python-modules/mongodict/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pymongo
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mongodict";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0nv5amfs337m0gbxpjb0585s20rndqfc3mfrzq1iwgnds5gxcrlw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pymongo ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "MongoDB-backed Python dict-like interface";
|
||||
homepage = "https://github.com/turicas/mongodict/";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
|
@ -3259,25 +3259,7 @@ in {
|
|||
|
||||
pystemd = callPackage ../development/python-modules/pystemd { systemd = pkgs.systemd; };
|
||||
|
||||
mongodict = buildPythonPackage rec {
|
||||
name = "mongodict-${version}";
|
||||
version = "0.3.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/m/mongodict/${name}.tar.gz";
|
||||
sha256 = "0nv5amfs337m0gbxpjb0585s20rndqfc3mfrzq1iwgnds5gxcrlw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
pymongo
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "MongoDB-backed Python dict-like interface";
|
||||
homepage = "https://github.com/turicas/mongodict/";
|
||||
};
|
||||
};
|
||||
|
||||
mongodict = callPackage ../development/python-modules/mongodict { };
|
||||
|
||||
repoze_who = buildPythonPackage rec {
|
||||
name = "repoze.who-${version}";
|
||||
|
|
Loading…
Reference in a new issue