Misc: Enable nix flakes
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
{ stdenv, lib }:
|
||||
{ stdenv, lib, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Anime4k";
|
||||
version = "4.0.0-RC";
|
||||
version = "4.0.1";
|
||||
|
||||
src = builtins.fetchGit {
|
||||
url = "https://github.com/bloc97/Anime4K.git";
|
||||
ref = "cb56502ed429a5a3e48ed62c5245d6445a209c7c";
|
||||
src = fetchFromGitHub {
|
||||
owner = "bloc97";
|
||||
repo = "Anime4k";
|
||||
rev = "v${version}";
|
||||
sha256 = "1gc1ka9i7xzxq58175q5svhvp8vr27hy477r4z4nkhp9q1cqj19r";
|
||||
};
|
||||
|
||||
|
||||
installPhase = ''
|
||||
find ./glsl/ -type f -iname '*.glsl' -exec install -Dm 644 {} -t $out/usr/share/shaders/ \;
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user