Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 22 lines 543 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, dateutil, mock, isPy3k }: 3 4buildPythonPackage rec { 5 pname = "aniso8601"; 6 version = "8.0.0"; 7 8 meta = with stdenv.lib; { 9 description = "Parses ISO 8601 strings."; 10 homepage = "https://bitbucket.org/nielsenb/aniso8601"; 11 license = licenses.bsd3; 12 }; 13 14 propagatedBuildInputs = [ dateutil ]; 15 16 checkInputs = stdenv.lib.optional (!isPy3k) mock; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "529dcb1f5f26ee0df6c0a1ee84b7b27197c3c50fc3a6321d66c544689237d072"; 21 }; 22}