2020-11-05 05:20:00 +01:00
|
|
|
{ callPackage, fetchurl, fetchpatch }:
|
2013-06-25 13:21:35 +02:00
|
|
|
|
2015-12-18 18:51:01 +01:00
|
|
|
callPackage ./generic.nix (rec {
|
2019-04-17 16:18:03 +02:00
|
|
|
version = "1.7";
|
2013-06-25 13:21:35 +02:00
|
|
|
src = fetchurl {
|
2019-04-17 16:32:15 +02:00
|
|
|
url = "https://nixos.org/releases/nixops/nixops-${version}/nixops-${version}.tar.bz2";
|
2019-04-17 16:18:03 +02:00
|
|
|
sha256 = "091c0b5bca57d4aa20be20e826ec161efe3aec9c788fbbcf3806a734a517f0f3";
|
2019-03-03 10:28:21 +01:00
|
|
|
};
|
2020-11-05 05:20:00 +01:00
|
|
|
patches = [
|
|
|
|
# follow redirect in nixos-infect. Remove with the next release.
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/NixOS/nixops/commit/fb6d4665e8efd858a215bbaaf079ec3f5ebc49b8.patch";
|
|
|
|
sha256 = "1hbhykl811zsqlaj3y5m9d8lfsal6ps6n5p16ah6lqy2s18ap9d0";
|
|
|
|
})
|
|
|
|
];
|
2015-12-18 18:51:01 +01:00
|
|
|
})
|