2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-08-05 19:02:06 +01:00
|
|
|
, substituteAll
|
|
|
|
, fetchFromGitHub
|
|
|
|
, file-roller
|
|
|
|
, gnome-bluetooth
|
|
|
|
}:
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "extra-elementary-contracts";
|
|
|
|
version = "2018-08-21";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "worldofpeace";
|
|
|
|
repo = pname;
|
|
|
|
rev = "a05dfb00695854163805b666185e3e9f31b6eb83";
|
|
|
|
sha256 = "0fkaf2w4xg0n9faj74rgzy7gvd3yz112l058b157a3pr39vpci7g";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./exec-path.patch;
|
2019-09-09 00:38:31 +01:00
|
|
|
file_roller = file-roller;
|
|
|
|
gnome_bluetooth = gnome-bluetooth;
|
2018-08-20 21:31:18 +01:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
dontBuild = true;
|
2019-08-05 18:26:19 +01:00
|
|
|
dontConfigure = true;
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/contractor
|
|
|
|
|
|
|
|
cp *.contract $out/share/contractor/
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-20 21:31:18 +01:00
|
|
|
description = "Extra contractor files for elementary";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/worldofpeace/extra-elementary-contracts";
|
2018-08-20 21:31:18 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|