mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
setconf: get rid of rec
This commit is contained in:
parent
96043dc729
commit
56137a2cac
@ -1,16 +1,18 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
let
|
||||
self = python3Packages.buildPythonApplication {
|
||||
pname = "setconf";
|
||||
version = "0.7.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xyproto";
|
||||
repo = "setconf";
|
||||
rev = version;
|
||||
rev = self.version;
|
||||
hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A=";
|
||||
};
|
||||
|
||||
@ -21,8 +23,10 @@ python3Packages.buildPythonApplication rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/xyproto/setconf";
|
||||
description = "Small utility for changing settings in configuration textfiles";
|
||||
changelog = "https://github.com/xyproto/setconf/releases/tag/${version}";
|
||||
changelog = "https://github.com/xyproto/setconf/releases/tag/${self.src.rev}";
|
||||
mainProgram = "setconf";
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
};
|
||||
}
|
||||
};
|
||||
in
|
||||
self
|
||||
|
Loading…
Reference in New Issue
Block a user