mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
qsudo: init at 2020.03.27
This commit is contained in:
parent
656468f428
commit
da6ab6626e
42
pkgs/applications/misc/qsudo/default.nix
Normal file
42
pkgs/applications/misc/qsudo/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ stdenv
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, qmake
|
||||
, qtbase
|
||||
, sudo
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "qsudo";
|
||||
version = "2020.03.27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "project-trident";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "06kg057vwkvafnk69m9rar4wih3vq4h36wbzwbfc2kndsnn47lfl";
|
||||
};
|
||||
|
||||
sourceRoot = "source/src-qt5";
|
||||
|
||||
nativeBuildInputs = [
|
||||
qmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
sudo
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace qsudo.pro --replace /usr/bin $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Graphical sudo utility from Project Trident";
|
||||
homepage = "https://github.com/project-trident/qsudo";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
};
|
||||
}
|
@ -21694,6 +21694,8 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
qsudo = libsForQt5.callPackage ../applications/misc/qsudo { };
|
||||
|
||||
qsynth = libsForQt5.callPackage ../applications/audio/qsynth { };
|
||||
|
||||
qtbitcointrader = libsForQt5.callPackage ../applications/misc/qtbitcointrader { };
|
||||
|
Loading…
Reference in New Issue
Block a user