diff options
author | Samuel Leathers <sam@appliedtrust.com> | 2017-09-16 00:46:27 -0400 |
---|---|---|
committer | Samuel Leathers <sam@appliedtrust.com> | 2017-09-16 00:46:27 -0400 |
commit | c256a685e8f1e6c56f78253686a05c363ad6dd34 (patch) | |
tree | f11ee4f09dbb7e8bf6a5633641c8544f6972df0c /pkgs/development/python-modules/hglib | |
parent | 2edb7e9b2d8ff5db64beb49353353887610d83fb (diff) | |
download | nixpkgs-c256a685e8f1e6c56f78253686a05c363ad6dd34.tar nixpkgs-c256a685e8f1e6c56f78253686a05c363ad6dd34.tar.gz nixpkgs-c256a685e8f1e6c56f78253686a05c363ad6dd34.tar.bz2 nixpkgs-c256a685e8f1e6c56f78253686a05c363ad6dd34.tar.lz nixpkgs-c256a685e8f1e6c56f78253686a05c363ad6dd34.tar.xz nixpkgs-c256a685e8f1e6c56f78253686a05c363ad6dd34.tar.zst nixpkgs-c256a685e8f1e6c56f78253686a05c363ad6dd34.zip |
hglib: 1.7 -> 2.4
Diffstat (limited to 'pkgs/development/python-modules/hglib')
-rw-r--r-- | pkgs/development/python-modules/hglib/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/hglib/default.nix b/pkgs/development/python-modules/hglib/default.nix new file mode 100644 index 00000000000..4e96f938991 --- /dev/null +++ b/pkgs/development/python-modules/hglib/default.nix @@ -0,0 +1,26 @@ +{ stdenv, buildPythonPackage, fetchPypi, nose, mercurial, isPy3k }: + +buildPythonPackage rec { + pname = "python-hglib"; + version = "2.4"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "0qll9cc9ndqizby00gxdcf6d0cysdhjkr8670a4ffrk55bcnwgb9"; + }; + + checkInputs = [ nose ]; + buildInputs = [ mercurial ]; + + checkPhase = ''python test.py''; + doCheck = if isPy3k then false else true; + + meta = with stdenv.lib; { + description = "Mercurial Python library"; + homepage = "http://selenic.com/repo/python-hglib"; + license = licenses.mit; + maintainers = with maintainers; [ dfoxfranke ]; + platforms = platforms.all; + }; +} |