Merge pull request #134536 from figsoda/disfetch-cleanup

disfetch: cleanup
This commit is contained in:
Sandro 2021-08-19 20:25:29 +02:00 committed by GitHub
commit 17d61156a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,4 @@
{ stdenv { stdenv, lib, fetchFromGitHub }:
, lib
, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "disfetch"; pname = "disfetch";
@ -16,7 +14,9 @@ stdenv.mkDerivation rec {
dontBuild = true; dontBuild = true;
installPhase = '' installPhase = ''
runHook preInstall
install -Dm755 -t $out/bin disfetch install -Dm755 -t $out/bin disfetch
runHook postInstall
''; '';
meta = with lib; { meta = with lib; {
@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/q60/disfetch"; homepage = "https://github.com/q60/disfetch";
license = licenses.mit; license = licenses.mit;
platforms = platforms.all; platforms = platforms.all;
maintainers = [ maintainers.vel ]; maintainers = with maintainers; [ vel ];
}; };
} }