mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-02 17:09:09 +03:00
pythonPackages.sqlite3dbm: refactor move to python-modules
This commit is contained in:
parent
b9e2d585d3
commit
749bc38725
23
pkgs/development/python-modules/sqlite3dbm/default.nix
Normal file
23
pkgs/development/python-modules/sqlite3dbm/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sqlite3dbm";
|
||||||
|
version = "0.1.4";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "4721607e0b817b89efdba7e79cab881a03164b94777f4cf796ad5dd59a7612c5";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "sqlite-backed dictionary";
|
||||||
|
homepage = https://github.com/Yelp/sqlite3dbm;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3740,21 +3740,7 @@ in {
|
|||||||
|
|
||||||
sphfile = callPackage ../development/python-modules/sphfile { };
|
sphfile = callPackage ../development/python-modules/sphfile { };
|
||||||
|
|
||||||
sqlite3dbm = buildPythonPackage rec {
|
sqlite3dbm = callPackage ../development/python-modules/sqlite3dbm { };
|
||||||
name = "sqlite3dbm-0.1.4";
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/s/sqlite3dbm/${name}.tar.gz";
|
|
||||||
sha256 = "4721607e0b817b89efdba7e79cab881a03164b94777f4cf796ad5dd59a7612c5";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "sqlite-backed dictionary";
|
|
||||||
homepage = https://github.com/Yelp/sqlite3dbm;
|
|
||||||
license = licenses.asl20;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
sqlobject = buildPythonPackage rec {
|
sqlobject = buildPythonPackage rec {
|
||||||
pname = "SQLObject";
|
pname = "SQLObject";
|
||||||
|
Loading…
Reference in New Issue
Block a user