about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/frozenlist2/default.nix
blob: 2cbac731c577e9aa10a1ad6ca443c4bef16dca1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, fetchFromGitHub
, buildPythonPackage
, setuptools
}:

buildPythonPackage rec {
  pname = "frozenlist2";
  version = "1.0.0";

  format = "pyproject";

  src = fetchFromGitHub {
    owner = "rohanpm";
    repo = "frozenlist2";
    rev = "v${version}";
    hash = "sha256-fF0oFZ2q1wRH7IKBlCjm3Za4xtEMSHyEaGL09rHgtTY=";
  };

  propagatedBuildInputs = [
    setuptools
  ];

  pythonImportsCheck = [ "frozenlist2" ];

  meta = with lib; {
    description = "An immutable list for Python";
    homepage = "https://github.com/rohanpm/frozenlist2";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ t4ccer ];
  };
}