about summary refs log tree commit diff
path: root/pkgs/development/misc/haskell
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2022-03-15 11:17:03 +0100
committerFelix Buehler <account@buehler.rocks>2022-03-16 00:45:12 +0100
commitdfff76aa14d6c1a5f90ad7ab7374ac1b8110ea21 (patch)
treecb6e133b68fc764f19e9b6ddf120f1b2e7095f30 /pkgs/development/misc/haskell
parentd2c297a6a5c108b07c4d16e5b426f4a84b783b83 (diff)
haskellPackages.hercules-ci-optparse-applicative: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/development/misc/haskell')
-rw-r--r--pkgs/development/misc/haskell/hercules-ci-optparse-applicative.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/misc/haskell/hercules-ci-optparse-applicative.nix b/pkgs/development/misc/haskell/hercules-ci-optparse-applicative.nix
index 17bedd5e7d326..5c0b6b0eecb3b 100644
--- a/pkgs/development/misc/haskell/hercules-ci-optparse-applicative.nix
+++ b/pkgs/development/misc/haskell/hercules-ci-optparse-applicative.nix
@@ -1,13 +1,14 @@
-{ mkDerivation, ansi-wl-pprint, base, fetchgit, lib, process, QuickCheck
+{ mkDerivation, ansi-wl-pprint, base, fetchFromGitHub, lib, process, QuickCheck
 , transformers, transformers-compat
 }:
 mkDerivation {
   pname = "hercules-ci-optparse-applicative";
   version = "0.16.1.0";
-  src = fetchgit {
-    url = "https://github.com/hercules-ci/optparse-applicative.git";
-    sha256 = "05vchaw2rf46hh2128qjpky686iy5hff964mbdhcyiz612jjflyp";
+  src = fetchFromGitHub {
+    owner = "hercules-ci";
+    repo = "optparse-applicative";
     rev = "9e2968c09a7c5b29d04578dc68d81ce5aec0591e";
+    sha256 = "sha256-11MnpQjmR89gW5WY5BwsPhpk/LwSIxEEhIa4LLiCbBc=";
   };
   libraryHaskellDepends = [
     ansi-wl-pprint base process transformers transformers-compat