summary refs log tree commit diff
path: root/pkgs/tools/misc/setconf
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-01-22 22:31:33 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-01-22 22:32:44 -0300
commite83911bd90ca08959c561d86dcd241877111f305 (patch)
treecfb4e04030ef1b7d12ab81dbb2acabfffdad2a8a /pkgs/tools/misc/setconf
parent5f36cb925a438c6907d6b951cdec7f364972d991 (diff)
downloadnixpkgs-e83911bd90ca08959c561d86dcd241877111f305.tar
nixpkgs-e83911bd90ca08959c561d86dcd241877111f305.tar.gz
nixpkgs-e83911bd90ca08959c561d86dcd241877111f305.tar.bz2
nixpkgs-e83911bd90ca08959c561d86dcd241877111f305.tar.lz
nixpkgs-e83911bd90ca08959c561d86dcd241877111f305.tar.xz
nixpkgs-e83911bd90ca08959c561d86dcd241877111f305.tar.zst
nixpkgs-e83911bd90ca08959c561d86dcd241877111f305.zip
setconf: init at 0.7.7
Diffstat (limited to 'pkgs/tools/misc/setconf')
-rw-r--r--pkgs/tools/misc/setconf/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/setconf/default.nix b/pkgs/tools/misc/setconf/default.nix
new file mode 100644
index 00000000000..fdb80bfb25b
--- /dev/null
+++ b/pkgs/tools/misc/setconf/default.nix
@@ -0,0 +1,24 @@
+{ lib
+, buildPythonApplication
+, fetchFromGitHub
+}:
+
+buildPythonApplication rec {
+  pname = "setconf";
+  version = "0.7.7";
+  format = "setuptools";
+
+  src = fetchFromGitHub {
+    owner = "xyproto";
+    repo = "setconf";
+    rev = version;
+    hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A=";
+  };
+
+  meta = {
+    homepage = "https://github.com/xyproto/setconf";
+    description = "A small utility for changing settings in configuration textfiles";
+    changelog = "https://github.com/xyproto/setconf/releases/tag/${version}";
+    maintainers = [ lib.maintainers.AndersonTorres ];
+  };
+}