mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
pythonPackages.icalendar: refactor move to python-modules
This commit is contained in:
parent
dadd754656
commit
65db7eb208
28
pkgs/development/python-modules/icalendar/default.nix
Normal file
28
pkgs/development/python-modules/icalendar/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, dateutil
|
||||
, pytz
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.9.0";
|
||||
pname = "icalendar";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "93d0b94eab23d08f62962542309916a9681f16de3d5eca1c75497f30f1b07792";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
propagatedBuildInputs = [ dateutil pytz ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A parser/generator of iCalendar files";
|
||||
homepage = "http://icalendar.readthedocs.org/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ olcai ];
|
||||
};
|
||||
|
||||
}
|
@ -2474,25 +2474,7 @@ in {
|
||||
|
||||
httpretty = callPackage ../development/python-modules/httpretty { };
|
||||
|
||||
icalendar = buildPythonPackage rec {
|
||||
version = "3.9.0";
|
||||
name = "icalendar-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/i/icalendar/${name}.tar.gz";
|
||||
sha256 = "93d0b94eab23d08f62962542309916a9681f16de3d5eca1c75497f30f1b07792";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ setuptools ];
|
||||
propagatedBuildInputs = with self; [ dateutil pytz ];
|
||||
|
||||
meta = {
|
||||
description = "A parser/generator of iCalendar files";
|
||||
homepage = "http://icalendar.readthedocs.org/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ olcai ];
|
||||
};
|
||||
};
|
||||
icalendar = callPackage ../development/python-modules/icalendar { };
|
||||
|
||||
imageio = buildPythonPackage rec {
|
||||
name = "imageio-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user