pythonPackages.umalqurra: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-28 12:26:19 -04:00
parent 6ee690466c
commit 3af94ba30e
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 27 additions and 21 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "umalqurra";
version = "0.2";
src = fetchPypi {
inherit pname version;
sha256 = "719f6a36f908ada1c29dae0d934dd0f1e1f6e3305784edbec23ad719397de678";
};
# No tests included
doCheck = false;
# See for license
# https://github.com/tytkal/python-hijiri-ummalqura/issues/4
meta = with stdenv.lib; {
description = "Date Api that support Hijri Umalqurra calendar";
homepage = https://github.com/tytkal/python-hijiri-ummalqura;
license = with licenses; [ publicDomain ];
};
}

View File

@ -4039,27 +4039,7 @@ in {
ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { };
umalqurra = buildPythonPackage rec {
name = "umalqurra-${version}";
version = "0.2";
src = pkgs.fetchurl {
url = "mirror://pypi/u/umalqurra/umalqurra-0.2.tar.gz";
sha256 = "719f6a36f908ada1c29dae0d934dd0f1e1f6e3305784edbec23ad719397de678";
};
# No tests included
doCheck = false;
# See for license
# https://github.com/tytkal/python-hijiri-ummalqura/issues/4
meta = {
description = "Date Api that support Hijri Umalqurra calendar";
homepage = https://github.com/tytkal/python-hijiri-ummalqura;
license = with licenses; [ publicDomain ];
};
};
umalqurra = callPackage ../development/python-modules/umalqurra { };
umemcache = callPackage ../development/python-modules/umemcache {};