git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.fpyutils: init at 2.0.0
commitc5f430a1660ad9a6b4d31cfd6944b213bad19763 authorFabian Affolter <mail@fabian-affolter.ch> dateWed 12 May 2021, 11:05 (6 years ago) parent1998a42
2 files changed+48
pkgs/development/python-modules/fpyutils/default.nix+46 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/fpyutils/default.nixnew file+46
@@ -0,0 +1,46 @@
1+{ lib
2+, atomicwrites
3+, buildPythonPackage
4+, fetchFromGitHub
5+, pytestCheckHook
6+, pythonOlder
7+, requests
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "fpyutils";
12+ version = "2.0.0";
13+ disabled = pythonOlder "3.5";
14+
15+ src = fetchFromGitHub {
16+ owner = "frnmst";
17+ repo = pname;
18+ rev = version;
19+ sha256 = "1n15fvd6191ixxsza49fdd8j43hs0agagg8k9v6rc7by1ffqnl2b";
20+ };
21+
22+ propagatedBuildInputs = [
23+ atomicwrites
24+ requests
25+ ];
26+
27+ checkInputs = [
28+ pytestCheckHook
29+ ];
30+
31+ pytestFlagsArray = [ "fpyutils/tests/*.py" ];
32+
33+ disabledTests = [
34+ # Don't run test which requires bash
35+ "test_execute_command_live_output"
36+ ];
37+
38+ pythonImportsCheck = [ "fpyutils" ];
39+
40+ meta = with lib; {
41+ description = "Collection of useful non-standard Python functions";
42+ homepage = "https://github.com/frnmst/fpyutils";
43+ license = with licenses; [ gpl3Plus ];
44+ maintainers = with maintainers; [ fab ];
45+ };
46+}
pkgs/top-level/python-packages.nix+2
@@ -2567,6 +2567,8 @@ in {
25672567
25682568 fpylll = callPackage ../development/python-modules/fpylll { };
25692569
2570+ fpyutils = callPackage ../development/python-modules/fpyutils { };
2571+
25702572 freebox-api = callPackage ../development/python-modules/freebox-api { };
25712573
25722574 freetype-py = callPackage ../development/python-modules/freetype-py { };