summary refs log blame commit diff
path: root/pkgs/development/python-modules/purl/default.nix
blob: 43fd5b71ca6c74f627b42145c16dc590b440fba2 (plain) (tree)


























                                                                               
{ 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 ];
  };
}