pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / python-modules / purl / default.nix
blob493ac2fd2960ef53682ff812cf086e254e8830ee
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   six,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "purl";
11   version = "1.6";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "codeinthehole";
16     repo = "purl";
17     rev = version;
18     hash = "sha256-Jb3JRW/PtQ7NlO4eQ9DmTPu/sjvFTg2mztphoIF79gc=";
19   };
21   propagatedBuildInputs = [ six ];
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "purl" ];
27   meta = with lib; {
28     description = "Immutable URL class for easy URL-building and manipulation";
29     homepage = "https://github.com/codeinthehole/purl";
30     license = licenses.mit;
31     maintainers = [ ];
32   };