pythonPackages.jdatetime: Move to own file

This commit is contained in:
Elis Hirwing
2018-04-03 14:17:01 +02:00
committed by Frederik Rietdijk
parent 0fe45ad2c3
commit b3d8cb9051
2 changed files with 20 additions and 17 deletions

View File

@@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi, six }:
buildPythonPackage rec {
pname = "jdatetime";
version = "1.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "1b1ksspm86r272ar8v0v4ip1821i4azpix6xhxpb4l133iwsb2y0";
};
propagatedBuildInputs = [ six ];
meta = with stdenv.lib; {
description = "Jalali datetime binding for python";
homepage = https://pypi.python.org/pypi/jdatetime;
license = licenses.psfl;
};
}