mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 03:55:44 +03:00
pythonPackages.mapsplotlib: refactor move to python-modules
This commit is contained in:
parent
1bbb17afe5
commit
d70a0fc079
2 changed files with 33 additions and 19 deletions
32
pkgs/development/python-modules/mapsplotlib/default.nix
Normal file
32
pkgs/development/python-modules/mapsplotlib/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
|
, fetchPypi
|
||||||
|
, matplotlib
|
||||||
|
, scipy
|
||||||
|
, pandas
|
||||||
|
, requests
|
||||||
|
, pillow
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "mapsplotlib";
|
||||||
|
version = "1.0.6";
|
||||||
|
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "09gpws3x0jd88n636baxx5izjffrpjy4j6jl8l7vj29yzvrdr2bp";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ matplotlib scipy pandas requests pillow ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Custom Python plots on a Google Maps background";
|
||||||
|
homepage = https://github.com/tcassou/mapsplotlib;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.rob ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -5807,25 +5807,7 @@ in {
|
||||||
|
|
||||||
manuel = callPackage ../development/python-modules/manuel { };
|
manuel = callPackage ../development/python-modules/manuel { };
|
||||||
|
|
||||||
mapsplotlib = buildPythonPackage rec {
|
mapsplotlib = callPackage ../development/python-modules/mapsplotlib { };
|
||||||
name = "mapsplotlib-${version}";
|
|
||||||
version = "1.0.6";
|
|
||||||
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/m/mapsplotlib/${name}.tar.gz";
|
|
||||||
sha256 = "09gpws3x0jd88n636baxx5izjffrpjy4j6jl8l7vj29yzvrdr2bp";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ matplotlib scipy pandas requests pillow ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Custom Python plots on a Google Maps background";
|
|
||||||
homepage = https://github.com/tcassou/mapsplotlib;
|
|
||||||
maintainers = [ maintainers.rob ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
markdown = callPackage ../development/python-modules/markdown { };
|
markdown = callPackage ../development/python-modules/markdown { };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue