Skip to content

Commit

Permalink
pythonPackages.purl: init at 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer committed Sep 5, 2019
1 parent 0213ccf commit 04c2622
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/python-modules/purl/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchFromGitHub
, nose
, six
}:

buildPythonPackage rec {
pname = "purl";
version = "1.5";

src = fetchFromGitHub {
owner = "codeinthehole";
repo = "purl";
rev = version;
sha256 = "0vi7xdm2xc1rbqrz5jwpr7x7dnkcrbjf1mb4w1q2c2f8jca0kk0g";
};

propagatedBuildInputs = [ six ];

checkInputs = [ nose ];

meta = with lib; {
description = "Immutable URL class for easy URL-building and manipulation";
homepage = "https://github.com/codeinthehole/purl";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,8 @@ in {

pure-python-adb-homeassistant = callPackage ../development/python-modules/pure-python-adb-homeassistant { };

purl = callPackage ../development/python-modules/purl { };

pymystem3 = callPackage ../development/python-modules/pymystem3 { };

pymysql = callPackage ../development/python-modules/pymysql { };
Expand Down

0 comments on commit 04c2622

Please sign in to comment.