swaycwd: 0.0.2 -> 0.1.0

Bumped version, updated packaging
This commit is contained in:
cab 2022-08-27 09:41:01 +04:00 committed by ehmry
parent 74195d7b7f
commit 35ee5a337f

View file

@ -5,24 +5,20 @@
}:
nimPackages.buildNimPackage rec{
pname = "swaycwd";
version = "0.0.2";
version = "0.1.0";
src = fetchFromGitLab {
owner = "cab404";
repo = pname;
rev = "v${version}";
hash = "sha256-OZWOPtOqcX+fVQCxWntrn98EzFu70WH55rfYCPDMSKk=";
hash = "sha256-VrG3H6oTeYsfncdD0IBp3zbmkoF5YF146LRxL064ZAE=";
};
preConfigure = ''
{
echo 'let enabledShells: seq[string] = @${builtins.toJSON enableShells}'
echo 'export enabledShells'
} > shells.nim
cat << EOF > swaycwd.nimble
srcDir = "."
bin = "swaycwd"
EOF
} > src/shells.nim
'';
nimFlags = [ "--opt:speed" ];