nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 construct,
5 fetchFromGitHub,
6 pytestCheckHook,
7 python-dateutil,
8 six,
9}:
10
11buildPythonPackage rec {
12 pname = "procmon-parser";
13 version = "0.3.13";
14 format = "setuptools";
15
16 src = fetchFromGitHub {
17 owner = "eronnen";
18 repo = "procmon-parser";
19 tag = "v${version}";
20 hash = "sha256-XkMf3MQK4WFRLl60XHDG/j2gRHAiz7XL9MmC6SRg9RE=";
21 };
22
23 propagatedBuildInputs = [
24 construct
25 six
26 ];
27
28 nativeCheckInputs = [
29 pytestCheckHook
30 python-dateutil
31 ];
32
33 pythonImportsCheck = [ "procmon_parser" ];
34
35 meta = {
36 description = "Parser to process monitor file formats";
37 homepage = "https://github.com/eronnen/procmon-parser/";
38 changelog = "https://github.com/eronnen/procmon-parser/releases/tag/v${version}";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ fab ];
41 };
42}