From 760710efd1b05f02b6c1b92493994fa1b058dcef Mon Sep 17 00:00:00 2001 From: Sarah Brofeldt Date: Sat, 7 Jan 2017 19:58:48 +0100 Subject: [PATCH] qualia: init at 1.0.0 tests disabled maintainer srhb --- lib/maintainers.nix | 1 + pkgs/tools/text/mir-qualia/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 3 files changed, 26 insertions(+) create mode 100644 pkgs/tools/text/mir-qualia/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 721e63cd6a7e..47c79abc2843 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -444,6 +444,7 @@ spinus = "Tomasz Czyż "; sprock = "Roger Mason "; spwhitt = "Spencer Whitt "; + srhb = "Sarah Brofeldt "; SShrike = "Severen Redwood "; stephenmw = "Stephen Weinberg "; sternenseemann = "Lukas Epple "; diff --git a/pkgs/tools/text/mir-qualia/default.nix b/pkgs/tools/text/mir-qualia/default.nix new file mode 100644 index 000000000000..b22d58939151 --- /dev/null +++ b/pkgs/tools/text/mir-qualia/default.nix @@ -0,0 +1,21 @@ +{ lib, pythonPackages, fetchurl }: + +pythonPackages.buildPythonApplication rec { + name = "mir.qualia-${version}"; + version = "1.0.0"; + doCheck = false; # 1.0.0-released pytests are broken + + buildInputs = with pythonPackages; [ pytest ]; + + src = fetchurl { + url = "mirror://pypi/m/mir.qualia/mir.qualia-${version}.tar.gz"; + sha256 = "1g0nwncwk4nq7b7zszqi1q4d2bdga1q50g9nkxigdaq647wqdf7x"; + }; + + meta = { + description = "Dynamically enable sections of config files"; + homepage = https://github.com/darkfeline/mir.qualia; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.srhb ] ; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4d538e21d247..69f7c70dd386 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2818,6 +2818,10 @@ in minixml = callPackage ../development/libraries/minixml { }; + mir-qualia = callPackage ../tools/text/mir-qualia { + pythonPackages = python3Packages; + }; + miredo = callPackage ../tools/networking/miredo { }; mitmproxy = callPackage ../tools/networking/mitmproxy { };