From eebbf15da9cd1e2202515264fa4608b8f57e8cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20=60shd=60=20Gliwi=C5=84ski?= Date: Wed, 14 Oct 2015 17:11:22 +0200 Subject: [PATCH] dex: init at 0.7 --- pkgs/tools/X11/dex/default.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/tools/X11/dex/default.nix diff --git a/pkgs/tools/X11/dex/default.nix b/pkgs/tools/X11/dex/default.nix new file mode 100644 index 000000000000..d147ef4a70c1 --- /dev/null +++ b/pkgs/tools/X11/dex/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchFromGitHub, python3 }: + +stdenv.mkDerivation rec { + program = "dex"; + name = "${program}-${version}"; + version = "0.7"; + + src = fetchFromGitHub { + owner = "jceb"; + repo = program; + rev = "v${version}"; + sha256 = "041ms01snalapapaniabr92d8iim1qrxian626nharjmp2rd69v5"; + }; + + propagatedBuildInputs = [ python3 ]; + makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ]; + + meta = { + description = "A program to generate and execute DesktopEntry files of the Application type"; + homepage = https://github.com/jceb/dex; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 037030f97947..361061ba0a0c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1231,6 +1231,8 @@ let gtk = gtk3; }; + dex = callPackage ../tools/X11/dex { }; + ddccontrol = callPackage ../tools/misc/ddccontrol { }; ddccontrol-db = callPackage ../data/misc/ddccontrol-db { };