mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
pythonPackages.mapsplotlib: refactor move to python-modules
This commit is contained in:
parent
1bbb17afe5
commit
d70a0fc079
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 { };
|
||||
|
||||
mapsplotlib = buildPythonPackage rec {
|
||||
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 ];
|
||||
};
|
||||
};
|
||||
mapsplotlib = callPackage ../development/python-modules/mapsplotlib { };
|
||||
|
||||
markdown = callPackage ../development/python-modules/markdown { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user