pythonPackages.parsedatetime: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-25 20:50:22 -04:00
committed by Frederik Rietdijk
parent f542b49600
commit 4806ee108a
2 changed files with 28 additions and 18 deletions

View File

@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestrunner
, future
}:
buildPythonPackage rec {
pname = "parsedatetime";
version = "2.3";
src = fetchPypi {
inherit pname version;
sha256 = "1vkrmd398s11h1zn3zaqqsiqhj9lwy1ikcg6irx2lrgjzjg3rjll";
};
buildInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ future ];
meta = with stdenv.lib; {
description = "Parse human-readable date/time text";
homepage = "https://github.com/bear/parsedatetime";
license = licenses.asl20;
};
}