mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
67651d80bc
Python: several fixes
22 lines
616 B
Nix
22 lines
616 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytimeparse";
|
|
version = "1.1.7";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "51b641bcd435e0cb6b9701ed79cf7ee97fa6bf2dbb5d41baa16e5486e5d9b17a";
|
|
};
|
|
|
|
propagatedBuildInputs = [ nose ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A small Python library to parse various kinds of time expressions";
|
|
homepage = "https://github.com/wroberts/pytimeparse";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ vrthra ];
|
|
};
|
|
}
|