mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python310Packages.x-wr-timezone: init at 0.0.5
This commit is contained in:
committed by
Robert Schütz
parent
67762b6317
commit
b03027524f
47
pkgs/development/python-modules/x-wr-timezone/default.nix
Normal file
47
pkgs/development/python-modules/x-wr-timezone/default.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, icalendar
|
||||
, pytz
|
||||
, pytestCheckHook
|
||||
, restructuredtext_lint
|
||||
, pygments
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "x-wr-timezone";
|
||||
version = "0.0.5";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "niccokunzmann";
|
||||
repo = "x-wr-timezone";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-vUhAq6b5I0gYbXmbElxSSL6Mu9BSLs0uT5gb8zXdmpg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
icalendar
|
||||
pytz
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
restructuredtext_lint
|
||||
pygments
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export PATH=$out/bin:$PATH
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "x_wr_timezone" ];
|
||||
|
||||
meta = {
|
||||
description = "Convert calendars using X-WR-TIMEZONE to standard ones";
|
||||
homepage = "https://github.com/niccokunzmann/x-wr-timezone";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -12051,6 +12051,7 @@ self: super: with self; {
|
||||
};
|
||||
};
|
||||
|
||||
x-wr-timezone = callPackage ../development/python-modules/x-wr-timezone { };
|
||||
|
||||
x11_hash = callPackage ../development/python-modules/x11_hash { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user