mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
27 lines
613 B
Nix
27 lines
613 B
Nix
{ stdenvNoCC, lib, fetchFromGitHub }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "discocss";
|
|
version = "0.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mlvzk";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-EdkcTVDFQppBeAoyM5hMMIK0d4B87JyVlmCW7zlGfDs=";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
install -m755 -D ./discocss $out/bin/discocss
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A tiny Discord css-injector";
|
|
homepage = "https://github.com/mlvzk/discocss";
|
|
license = licenses.mpl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ mlvzk ];
|
|
};
|
|
}
|