Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 38 lines 829 B view raw
1{ lib 2, stdenv 3, fetchpatch 4, fetchFromGitHub 5, nix-update-script 6, rustPlatform 7, CoreServices 8, which 9}: 10 11rustPlatform.buildRustPackage rec { 12 pname = "dotter"; 13 version = "0.12.15"; 14 15 src = fetchFromGitHub { 16 owner = "SuperCuber"; 17 repo = "dotter"; 18 rev = "v${version}"; 19 hash = "sha256-quMEwg/B4ey6zoxDZO2ce3/s1FX5xxmJfyAlt4YvFqE="; 20 }; 21 22 cargoHash = "sha256-D8H95dE+th1mMzlLmd+fqU5VdlxdOSBHKSjvh21JhnE="; 23 24 buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; 25 26 nativeCheckInputs = [ which ]; 27 28 passthru = { 29 updateScript = nix-update-script { }; 30 }; 31 32 meta = with lib; { 33 description = "A dotfile manager and templater written in rust 🦀"; 34 homepage = "https://github.com/SuperCuber/dotter"; 35 license = licenses.unlicense; 36 maintainers = with maintainers; [ linsui ]; 37 }; 38}