Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 nix-update-script, 6 gettext, 7 meson, 8 ninja, 9 python3, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "elementary-wallpapers"; 14 version = "8.0.0"; 15 16 src = fetchFromGitHub { 17 owner = "elementary"; 18 repo = "wallpapers"; 19 rev = version; 20 sha256 = "sha256-qbqYr+3Vqwi1UBD0fRW6lI2rj5Iy51taZRGxDTpKfpg="; 21 }; 22 23 nativeBuildInputs = [ 24 gettext 25 meson 26 ninja 27 python3 28 ]; 29 30 postPatch = '' 31 chmod +x meson/symlink.py 32 patchShebangs meson/symlink.py 33 ''; 34 35 passthru = { 36 updateScript = nix-update-script { }; 37 }; 38 39 meta = with lib; { 40 description = "Collection of wallpapers for elementary"; 41 homepage = "https://github.com/elementary/wallpapers"; 42 license = licenses.publicDomain; 43 platforms = platforms.linux; 44 teams = [ teams.pantheon ]; 45 }; 46}