mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
40 lines
675 B
Nix
40 lines
675 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pyyaml
|
|
, pytestCheckHook
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "helper";
|
|
version = "2.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gmr";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0zypjv8rncvrsgl200v7d3bn08gs48dwqvgamfqv71h07cj6zngp";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyyaml
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
mock
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"helper"
|
|
"helper.config"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Development library for quickly writing configurable applications and daemons";
|
|
homepage = "https://helper.readthedocs.org/";
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|