diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-03-05 00:12:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 00:12:06 +0000 |
commit | 1ad8409e69bd168fbcffb57af8102eaaee4adfa3 (patch) | |
tree | 462cf7048f7d4f10d3c31d2222ac9c1937c6ec07 /pkgs/development/tools/nc4nix/default.nix | |
parent | 51a22900610b3ba34ee976e56a5ce31954d1adf1 (diff) | |
parent | 788f65a3d7fdd14bdecf975fd45a9cfd04e367c8 (diff) | |
download | nixlib-1ad8409e69bd168fbcffb57af8102eaaee4adfa3.tar nixlib-1ad8409e69bd168fbcffb57af8102eaaee4adfa3.tar.gz nixlib-1ad8409e69bd168fbcffb57af8102eaaee4adfa3.tar.bz2 nixlib-1ad8409e69bd168fbcffb57af8102eaaee4adfa3.tar.lz nixlib-1ad8409e69bd168fbcffb57af8102eaaee4adfa3.tar.xz nixlib-1ad8409e69bd168fbcffb57af8102eaaee4adfa3.tar.zst nixlib-1ad8409e69bd168fbcffb57af8102eaaee4adfa3.zip |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/development/tools/nc4nix/default.nix')
-rw-r--r-- | pkgs/development/tools/nc4nix/default.nix | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/pkgs/development/tools/nc4nix/default.nix b/pkgs/development/tools/nc4nix/default.nix deleted file mode 100644 index f8fd1bb2830f..000000000000 --- a/pkgs/development/tools/nc4nix/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, nix -, makeWrapper -, fetchpatch -}: - -buildGoModule { - pname = "nc4nix"; - version = "unstable-2023-11-06"; - - src = fetchFromGitHub { - owner = "helsinki-systems"; - repo = "nc4nix"; - rev = "47666b418a71c609f8d2b2c2679956c2ac9818e5"; - hash = "sha256-cXg0emFFAYI1Jtiz+Xilmct3JNiO9cSWUbghyIRQBnY="; - }; - - patches = [ - # Switch hash calculation method - # https://github.com/helsinki-systems/nc4nix/pull/3 - (fetchpatch { - url = "https://github.com/helsinki-systems/nc4nix/commit/a7bca4793cc12e87d381f12f6f8c00ae2ca02893.patch"; - sha256 = "sha256-0JxyhSQLtlgLtsMv82wMjQHGdmOoQ2dcPPNAw2cFByE="; - name = "switch_hash_calculation_method.patch"; - }) - ]; - - vendorHash = "sha256-uhINWxFny/OY7M2vV3ehFzP90J6Z8cn5IZHWOuEg91M="; - - nativeBuildInputs = [ - makeWrapper - ]; - - postInstall = '' - # Depends on nix-prefetch-url - wrapProgram $out/bin/nc4nix \ - --prefix PATH : ${lib.makeBinPath [ nix ]} - ''; - - meta = with lib; { - description = "Packaging helper for Nextcloud apps"; - homepage = "https://github.com/helsinki-systems/nc4nix"; - license = licenses.mit; - maintainers = with maintainers; [ onny ]; - platforms = platforms.linux; - }; -} - |