diff options
author | Markus Kowalewski <markus.kowalewski@fysik.su.se> | 2021-01-28 12:47:22 +0100 |
---|---|---|
committer | Markus Kowalewski <markus.kowalewski@fysik.su.se> | 2021-01-28 15:27:51 +0100 |
commit | 1e160f9321577cfd6ed7d97b11d1d4dc09dc852f (patch) | |
tree | 4a8477af74768768571e40c5bd78827f968b9b8f /pkgs | |
parent | 4c9a74aa459dc525fcfdfb3019b234f68de66c8a (diff) |
open-isns: 0.99 -> 0.100
* update homepage + git repo source
* add maintainer
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/open-isns/default.nix | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/pkgs/os-specific/linux/open-isns/default.nix b/pkgs/os-specific/linux/open-isns/default.nix index 71cee65602c6..db35804611bd 100644 --- a/pkgs/os-specific/linux/open-isns/default.nix +++ b/pkgs/os-specific/linux/open-isns/default.nix @@ -1,16 +1,29 @@ -{ lib, stdenv, openssl, fetchFromGitHub }: +{ lib, stdenv, openssl, fetchFromGitHub, fetchpatch }: stdenv.mkDerivation rec { pname = "open-isns"; - version = "0.99"; + version = "0.100"; src = fetchFromGitHub { - owner = "gonzoleeman"; + owner = "open-iscsi"; repo = "open-isns"; rev = "v${version}"; - sha256 = "0m294aiv80rkihacw5094093pc0kd5bkbxqgs6i32jsglxy33hvf"; + sha256 = "0d0dz965azsisvfl5wpp1b7m0q0fmaz5r7x5dfybkry551sbcydr"; }; + patches = [ + (fetchpatch { + name = "deprecated-sighold-sigrelease"; + url = "https://github.com/open-iscsi/open-isns/commit/e7dac76ce61039fefa58985c955afccb60dabe87.patch"; + sha256 = "15v106xn3ns7z4nlpby7kkm55rm9qncsmy2iqc4ifli0h67g34id"; + }) + (fetchpatch { + name = "warn_unused_result"; + url = "https://github.com/open-iscsi/open-isns/commit/4c39cb09735a494099fba0474d25ff26800de952.patch"; + sha256 = "1jlydrh9rgkky698jv0mp2wbbizn90q5wjbay086l0h6iqp8ibc3"; + }) + ]; + propagatedBuildInputs = [ openssl ]; outputs = [ "out" "lib" ]; outputInclude = "lib"; @@ -20,10 +33,11 @@ stdenv.mkDerivation rec { installFlags = [ "etcdir=$(out)/etc" "vardir=$(out)/var/lib/isns" ]; installTargets = [ "install" "install_hdrs" "install_lib" ]; - meta = { + meta = with lib; { description = "iSNS server and client for Linux"; - license = lib.licenses.lgpl21; - homepage = "https://github.com/gonzoleeman/open-isns"; - platforms = lib.platforms.linux; + license = licenses.lgpl21Only; + homepage = "https://github.com/open-iscsi/open-isns"; + platforms = platforms.linux; + maintainers = [ maintainers.markuskowa ]; }; } |