mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
pythonPackages.geoalchemy2: refactor move to python-modules
This commit is contained in:
parent
6680dbe4cb
commit
be778594c0
25
pkgs/development/python-modules/geoalchemy2/default.nix
Normal file
25
pkgs/development/python-modules/geoalchemy2/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, sqlalchemy
|
||||
, shapely
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "GeoAlchemy2";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0p2h1kgl5b0jz8wadx485vjh1mmm5s67p71yxh9lhp1441hkfswf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sqlalchemy shapely ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://geoalchemy.org/;
|
||||
license = licenses.mit;
|
||||
description = "Toolkit for working with spatial databases";
|
||||
};
|
||||
|
||||
}
|
@ -3598,23 +3598,7 @@ in {
|
||||
|
||||
django-haystack = callPackage ../development/python-modules/django-haystack { };
|
||||
|
||||
geoalchemy2 = buildPythonPackage rec {
|
||||
name = "GeoAlchemy2-${version}";
|
||||
version = "0.3.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/G/GeoAlchemy2/${name}.tar.gz";
|
||||
sha256 = "0p2h1kgl5b0jz8wadx485vjh1mmm5s67p71yxh9lhp1441hkfswf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self ; [ sqlalchemy shapely ];
|
||||
|
||||
meta = {
|
||||
homepage = http://geoalchemy.org/;
|
||||
license = licenses.mit;
|
||||
description = "Toolkit for working with spatial databases";
|
||||
};
|
||||
};
|
||||
geoalchemy2 = callPackage ../development/python-modules/geoalchemy2 { };
|
||||
|
||||
geopy = buildPythonPackage rec {
|
||||
name = "geopy-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user