package.nix (832B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage (finalAttrs: { 8 pname = "roentgen-icons"; 9 version = "0.12.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "enzet"; 14 repo = "Roentgen"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-b76QqThVLXiIS02adciOg3lfm2VeMYv6x+rIEEE1N8o="; 17 }; 18 19 build-system = with python3Packages; [ hatchling ]; 20 21 pythonRelaxDeps = true; 22 23 dependencies = with python3Packages; [ 24 colour 25 lxml 26 requests 27 svgpathtools 28 svgwrite 29 ]; 30 31 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 32 33 meta = { 34 description = "Set of monochrome 14 × 14 px pixel-aligned map icons"; 35 homepage = "https://github.com/enzet/Roentgen"; 36 license = lib.licenses.mit; 37 maintainers = [ lib.maintainers.sikmir ]; 38 }; 39 })
