mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
iptsd: 1.1.1 -> 1.2.0
Diff: https://github.com/linux-surface/iptsd/compare/v1.1.1...v1.2.0 Changelog: https://github.com/linux-surface/iptsd/releases/tag/v1.2.0
This commit is contained in:
parent
3f0bced619
commit
74a7d447b2
@ -6,6 +6,8 @@
|
||||
, ninja
|
||||
, pkg-config
|
||||
, cli11
|
||||
, eigen
|
||||
, fmt
|
||||
, hidrd
|
||||
, inih
|
||||
, microsoft_gsl
|
||||
@ -15,13 +17,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "iptsd";
|
||||
version = "1.1.1";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linux-surface";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-IwvoqmqJTM6xtEp7AzLgT4dZgRsmXYmu6Zivx3oSm+Q=";
|
||||
hash = "sha256-8RE93pIg5fVAYOOq8zHlWy0uTxep7hrJlowPu48beTs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -35,6 +37,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
cli11
|
||||
eigen
|
||||
fmt
|
||||
hidrd
|
||||
inih
|
||||
microsoft_gsl
|
||||
@ -47,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace etc/meson.build \
|
||||
--replace "install_dir: unitdir" "install_dir: '$out/etc/systemd/system'" \
|
||||
--replace "install_dir: rulesdir" "install_dir: '$out/etc/udev/rules.d'"
|
||||
substituteInPlace etc/udev/50-ipts.rules \
|
||||
substituteInPlace etc/udev/50-iptsd.rules.in \
|
||||
--replace "/bin/systemd-escape" "${systemd}/bin/systemd-escape"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user