nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "precis-i18n";
10 version = "1.1.2";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "byllyfish";
15 repo = "precis_i18n";
16 tag = "v${version}";
17 hash = "sha256-ZMj9KqiPVrpmq4/FweLMDxWQVQEtykimNhMTS9Mh5QY=";
18 };
19
20 build-system = [ setuptools ];
21
22 pythonImportsCheck = [ "precis_i18n" ];
23
24 meta = {
25 description = "Internationalized usernames and passwords";
26 homepage = "https://github.com/byllyfish/precis_i18n";
27 changelog = "https://github.com/byllyfish/precis_i18n/blob/${src.tag}/CHANGELOG.rst";
28 license = lib.licenses.mit;
29 maintainers = [ ];
30 };
31}