mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
xautolock: Add meta.mainProgram and remove rec
This commit is contained in:
parent
e5dc9f101c
commit
5ec1939e0f
@ -2,7 +2,7 @@
|
||||
, imake, gccmakedep, libX11, libXext, libXScrnSaver, xorgproto
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xautolock";
|
||||
version = "2.2-7-ga23dd5c";
|
||||
|
||||
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "peti";
|
||||
repo = "xautolock";
|
||||
rev = "v${version}";
|
||||
sha256 = "10j61rl0sx9sh84rjyfyddl73xb5i2cpb17fyrli8kwj39nw0v2g";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-T2zAbRqSTxRp9u6EdZmIZfVxaGveeZkJgjp1DWgORoI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ imake gccmakedep ];
|
||||
@ -31,5 +31,6 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ peti ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
mainProgram = "xautolock";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user