Created
December 7, 2019 05:43
-
-
Save lovesegfault/4abb52ff6dd32dc7e5a49b63155cad5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchFromGitHub, beets, pythonPackages, flac, liboggz, mp3val }: | |
pythonPackages.buildPythonApplication rec { | |
name = "beets-check"; | |
version = "0.12.0"; | |
src = fetchFromGitHub { | |
repo = "beets-check"; | |
owner = "geigerzaehler"; | |
rev = "v${version}"; | |
sha256 = "0b2ijjf0gycs6b40sm33ida3sjygjiv4spb5mba52vysc7iwmnjn"; | |
}; | |
nativeBuildInputs = [ beets ]; | |
checkInputs = [ pythonPackages.nose ]; | |
propagatedBuildInputs = [ flac liboggz mp3val ]; | |
patchPhase = '' | |
sed -i "/futures/d" setup.py | |
sed -i "s/\/bin\/echo/echo/g" test/cli_test.py | |
''; | |
doCheck = false; | |
checkPhase = "nosetests"; | |
meta = { | |
description = "Beets plugin to Verify and store checksums in your library"; | |
homepage = https://github.com/geigerzaehler/beets-check; | |
license = stdenv.lib.licenses.mit; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment