nixpkgs/pkgs/tools/misc/discocss/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
689 B
Nix
Raw Normal View History

2020-09-18 00:52:48 +02:00
{ stdenvNoCC, lib, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "discocss";
2021-06-18 03:23:52 +02:00
version = "0.2.0";
2020-09-18 00:52:48 +02:00
src = fetchFromGitHub {
owner = "mlvzk";
repo = pname;
rev = "v${version}";
2021-06-18 03:23:52 +02:00
sha256 = "sha256-afmQCOOZ1MwQkbZZNHYfq2+IRv2eOtYBrGVHzDEbUHw=";
2020-09-18 00:52:48 +02:00
};
dontBuild = true;
installPhase = ''
2021-06-18 03:23:52 +02:00
install -Dm755 ./discocss $out/bin/discocss
2020-09-18 00:52:48 +02:00
'';
meta = with lib; {
description = "A tiny Discord css-injector";
2021-06-18 03:23:52 +02:00
changelog = "https://github.com/mlvzk/discocss/releases/tag/v${version}";
2020-09-18 00:52:48 +02:00
homepage = "https://github.com/mlvzk/discocss";
license = licenses.mpl20;
2021-05-17 06:00:54 +02:00
platforms = platforms.unix;
2020-09-18 00:52:48 +02:00
maintainers = with maintainers; [ mlvzk ];
};
}