2020-09-17 22:52:48 +00:00
|
|
|
{ stdenvNoCC, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "discocss";
|
2021-05-17 04:00:54 +00:00
|
|
|
version = "0.1.1";
|
2020-09-17 22:52:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mlvzk";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-05-17 04:00:54 +00:00
|
|
|
sha256 = "sha256-EdkcTVDFQppBeAoyM5hMMIK0d4B87JyVlmCW7zlGfDs=";
|
2020-09-17 22:52:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2021-05-17 04:00:54 +00:00
|
|
|
platforms = platforms.unix;
|
2020-09-17 22:52:48 +00:00
|
|
|
maintainers = with maintainers; [ mlvzk ];
|
|
|
|
};
|
|
|
|
}
|