Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 730 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, numpy 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "sdds"; 11 version = "0.3.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "pylhc"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-lb4awMQ7GE7m2N2yiCpJ976I2j8hE98/93zCX7Rp4qU="; 21 }; 22 23 propagatedBuildInputs = [ 24 numpy 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ 32 "sdds" 33 ]; 34 35 meta = with lib; { 36 description = "Module to handle SDDS files"; 37 homepage = "https://pylhc.github.io/sdds/"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ veprbl ]; 40 }; 41}