nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 unittestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "fastimport";
10 version = "0.9.16";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-agpvtWqjYH3nGtTnq9VRr+m9rJS6uNLddNjg+Y9S414=";
16 };
17
18 nativeCheckInputs = [ unittestCheckHook ];
19
20 pythonImportsCheck = [ "fastimport" ];
21
22 meta = {
23 homepage = "https://github.com/jelmer/python-fastimport";
24 description = "VCS fastimport/fastexport parser";
25 maintainers = with lib.maintainers; [ koral ];
26 license = lib.licenses.gpl2Plus;
27 };
28}