diff options
author | Will Dietz <w@wdtz.org> | 2018-02-20 07:29:26 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-02-20 07:52:07 -0600 |
commit | af2fc069ed62fe7f06ff5609d988ad003b5a3c95 (patch) | |
tree | 3e9ffb4f6d3c104ccb090072613003780b74ffca /pkgs/applications/audio/radiotray-ng | |
parent | e46553bc72f1044eecbfa6dd7b6ac61231ebd77a (diff) | |
download | nixpkgs-af2fc069ed62fe7f06ff5609d988ad003b5a3c95.tar nixpkgs-af2fc069ed62fe7f06ff5609d988ad003b5a3c95.tar.gz nixpkgs-af2fc069ed62fe7f06ff5609d988ad003b5a3c95.tar.bz2 nixpkgs-af2fc069ed62fe7f06ff5609d988ad003b5a3c95.tar.lz nixpkgs-af2fc069ed62fe7f06ff5609d988ad003b5a3c95.tar.xz nixpkgs-af2fc069ed62fe7f06ff5609d988ad003b5a3c95.tar.zst nixpkgs-af2fc069ed62fe7f06ff5609d988ad003b5a3c95.zip |
radiotray-ng: 0.2.0 -> 0.2.1
Diffstat (limited to 'pkgs/applications/audio/radiotray-ng')
-rw-r--r-- | pkgs/applications/audio/radiotray-ng/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/audio/radiotray-ng/default.nix b/pkgs/applications/audio/radiotray-ng/default.nix index e075d68cd28..88db09fac86 100644 --- a/pkgs/applications/audio/radiotray-ng/default.nix +++ b/pkgs/applications/audio/radiotray-ng/default.nix @@ -40,13 +40,13 @@ let in stdenv.mkDerivation rec { name = "radiotray-ng-${version}"; - version = "0.2.0"; + version = "0.2.1"; src = fetchFromGitHub { owner = "ebruck"; repo = "radiotray-ng"; rev = "v${version}"; - sha256 = "12mhi0q137cjdpmpczvrcr7szq1ja1r8bm0gh03b925y8xyrqp5z"; + sha256 = "0hqg6vn8hv5pic96klf1d9vj8fibrgiqnqb5vwrg3wvakx0y32kr"; }; nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook makeWrapper ]; @@ -63,10 +63,9 @@ stdenv.mkDerivation rec { ++ pythonInputs; prePatch = '' - substituteInPlace debian/CMakeLists.txt \ - --replace /usr $out - substituteInPlace include/radiotray-ng/common.hpp \ - --replace /usr $out + for x in debian/CMakeLists.txt include/radiotray-ng/common.hpp data/*.desktop; do + substituteInPlace $x --replace /usr $out + done # We don't find the radiotray-ng-notification icon otherwise substituteInPlace data/radiotray-ng.desktop \ @@ -75,6 +74,8 @@ stdenv.mkDerivation rec { --replace radiotray-ng-notification radiotray-ng-on ''; + cmakeFlags = stdenv.lib.optional doCheck "-DBUILD_TESTS=ON"; + enableParallelBuilding = true; doCheck = true; |